<div class="col-md-4">
    <!-- Widget: user widget style 1 -->
    <div class="box box-widget widget-user-2">
        <!-- Add the bg color to the header using any of the bg-* classes -->
        <div class="widget-user-header bg-yellow">
            <div class="widget-user-image">
                <img class="img-circle" src="<?php echo $this->res('../avatars/'.$_SESSION["uid"].'.'.$_SESSION["avatars"]); ?>" alt="User Avatar">
            </div>
            <!-- /.widget-user-image -->
            <h3 class="widget-user-username"><?php echo $_SESSION['uname']; ?></h3>
            <h5 class="widget-user-desc"><?php echo $_SESSION['l']; ?></h5>
        </div>
        <div class="box-footer no-padding">
            <ul class="nav nav-stacked">
                <li><a href="#">你总共登录后台 <span class="badge bg-aqua"><?php echo $data['Loing_Num']; ?></span> 次<?php if($data['Loing_Num'] > 200){echo "，真是勤劳的小蜜蜂！";} ?></a></li>
            </ul>
        </div>
    </div>
    <!-- /.widget-user -->
</div>



<div class="col-md-4">
    <p class="text-center">
        <strong>上传头像</strong>
    </p>

    <form enctype="multipart/form-data" method="post">
        <div class="info-box bg-green-active">
            <span class="pull-left info-box-icon"><i class="fa fa-cloud-upload"></i></span>
            <div class="info-box-content">
                <span class="info-box-text">上传你的头像</span>
                <span class="info-box-number"><input name="avatars" type="file" class="pull-left"></span>
                <input type="submit" class="btn btn-pinterest pull-right" value="上传">
                <span class="pull-left progress-description">
                    <?php echo isset($data ['waring']) ? $data ['waring'] :'' ?>

                </span>
            </div>
            <!-- /.info-box-content -->
        </div>
    </form>
    <!-- /.progress-group -->
</div>